package com.engine4cloud.tdf.supervision.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 矫正对象证件信息
 *
 * @author wenjie
 * @date 2024-04-03 14:46:19
 */
@Data
@TableName("jzdx_identity")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "矫正对象证件信息")
public class JzdxIdentityEntity extends Model<JzdxIdentityEntity> {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private Long id;

    /**
     * 社区矫正对象编号
     */
    @Schema(description = "社区矫正对象编号")
    private String rybh;

    /**
     * 有无港澳台身份证
     */
    @Schema(description = "有无港澳台身份证")
    private String ywgatsfz;

    /**
     * 港澳台身份证类型
     */
    @Schema(description = "港澳台身份证类型")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gatsfzlx;

    /**
     * 港澳台身份证号码
     */
    @Schema(description = "港澳台身份证号码")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gatsfzhm;

    /**
     * 有无护照
     */
    @Schema(description = "有无护照")
    private String ywhz;

    /**
     * 护照号码
     */
    @Schema(description = "护照号码")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String hzhm;

    /**
     * 护照保存状态
     */
    @Schema(description = "护照保存状态")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String hzbczt;

    /**
     * 有无港澳台通行证
     */
    @Schema(description = "有无港澳台通行证")
    private String ywgattxz;

    /**
     * 港澳台通行证类型
     */
    @Schema(description = "港澳台通行证类型")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gattxzlx;

    /**
     * 港澳台通行证号码
     */
    @Schema(description = "港澳台通行证号码")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gattxzhm;

    /**
     * 港澳台通行证保存状态
     */
    @Schema(description = "港澳台通行证保存状态")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gattxzbczt;

    /**
     * 有无港澳居民往来内地通行证
     */
    @Schema(description = "有无港澳居民往来内地通行证")
    private String ywgajmwlndtxz;

    /**
     * 港澳居民往来内地通行证号码
     */
    @Schema(description = "港澳居民往来内地通行证号码")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gajmwlndtxz;

    /**
     * 港澳居民往来内地通行证保存状态
     */
    @Schema(description = "港澳居民往来内地通行证保存状态")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String gajmwlndtxzbczt;

    /**
     * 有无台胞证
     */
    @Schema(description = "有无台胞证")
    private String ywtbz;

    /**
     * 台胞证号码
     */
    @Schema(description = "台胞证号码")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String tbzhm;

    /**
     * 台胞证保存状态
     */
    @Schema(description = "台胞证保存状态")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String tbzbczt;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "更新人")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "是否删除")
    private String delFlag;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;
}